home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer (Italian) 36 / PC Gamer IT CD 36 2-2.iso / SINDEMO / sindemo2.exe / data / base / pak0.pak / models / camgun2.def < prev    next >
Text File  |  1998-09-22  |  1KB  |  58 lines

  1. SDEF
  2. path models/camgun2
  3. scale 1.8
  4. camgun_base2.tga
  5. camgun2_base.sbm
  6.  
  7. down_idle camgun_idle.SAM
  8. up_idle   camgun_idle.SAM
  9. lower     camgun_idle.SAM
  10. raise     camgun_idle.SAM
  11. fire      camgun_fire.sam
  12.  
  13. id 2 group light fullbright
  14. id 200 group camgun bone barrel 0 0 0 nodraw
  15.  
  16. //
  17. // The initialization section
  18. //
  19. !init:
  20. server classname actor
  21. server weapon GenericBullet
  22. server setsize "-12 -10 -10" "68 10 10"
  23. client  aliascache   snd_fire1   "weapons/camgun/newmix.wav"
  24.  
  25.  
  26. //
  27. // The main section
  28. //
  29. !main:
  30. server fire first attack_start
  31. server fire 0 weaponsound
  32. server fire 0 fire
  33. client fire 0 randomsound snd_fire 1 1
  34. client fire 1 attach barrel sprites/gunblast.spr time 0.05 scale 0.4 randomroll
  35. server fire 1 weaponsound
  36. server fire 1 fire
  37. server fire 2 weaponsound
  38. client fire 2 attach barrel sprites/gunblast.spr time 0.05 scale 0.4 randomroll
  39. server fire 2 fire
  40. server fire last attack_finished
  41.  
  42. server down_idle 0 checkvicinity
  43.  
  44. server lower 0 endseek
  45. server lower end nextanim down_idle
  46.  
  47. server raise end seek
  48. server raise end nextanim up_idle
  49.  
  50. //
  51. // The SINED declaration section
  52. //
  53. /*SINED trap_camgun (1 .3 .3) (0 0 0) (0 0 0)
  54. Rotating security turret that tracks players. 
  55. "angle" - Defines the initial orientation of the camgun
  56. "yawrange" - Defines the yaw boundary of the camgun
  57. "pitchrange" - Defines the pitch boundary of the camgun */
  58. //